package com.mallplus.common.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * 购物车VO
 *
 * @author Hanson
 * @date 2023/4/16 22:31
 */
public class ShopCartVO {

    @Schema(description = "店铺ID" , required = true)
    private Long shopId;

    @Schema(description = "店铺名称" , required = true)
    private String shopName;

    @Schema(description = "店铺类型1自营店 2普通店" )
    private Integer shopType;

    @Schema(description = "购物车商品信息" )
    private List<ShopCartItemVO> shopCartItem;

    @Schema(description = "商品总值" , required = true)
    private Long total;
    @Schema(description = "数量" , required = true)
    private Integer totalCount;

    @Override
    public String toString() {
        return "ShopCartVO{" +
                "shopId=" + shopId +
                ", shopName='" + shopName + '\'' +
                ", shopType=" + shopType +
                ", shopCartItem=" + shopCartItem +
                ", total=" + total +
                ", totalCount=" + totalCount +
                '}';
    }
}
